// index.js
var app = getApp()
const deviceInfo = wx.getDeviceInfo()
var pinyin = require('../utils/pinyin.js');
Page({
  data: {
    honModel: '',
    hOSVers: '',
  },
  onLoad: function () {

  },
  commit: function(){
    let self = this
    console.log(deviceInfo.abi)
    console.log(deviceInfo.benchmarkLevel)
    console.log(deviceInfo.brand)
    console.log(deviceInfo.model)
    this.setData({
      honModel:deviceInfo.model,
      hOSVers:deviceInfo.system
    })
    console.log(deviceInfo.platform)
    console.log(deviceInfo.system)
  },

})
